<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>网易云音乐播放器</title>
    <link rel="stylesheet" href="style.css">
</head>

<body>
    <div class="music-player">
        <h1>网易云音乐播放器</h1>
        <p>23215220301 冯晨</p>
        <!-- 新增圆盘元素 -->
        <div class="music-disk"></div>
        <audio id="audioPlayer" src="music1.mp3"></audio>
        <div class="controls">
            <button id="prevBtn">上一曲</button>
            <button id="playPauseBtn">播放</button>
            <button id="nextBtn">下一曲</button>
        </div>
        <!-- 为播放列表添加包裹元素以实现滑动 -->
        <div class="playlist-wrapper">
            <div class="playlist">
                <h2>播放列表</h2>
                <ul id="playlist"></ul>
            </div>
        </div>
        <div class="seek-bar">
            <input type="range" id="seekBar" min="0" max="100" value="0">
        </div>
    </div>
    <script src="script.js"></script>
</body>
</html>